package com.wanmait.demo.pojo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class Userinfo implements Serializable {
    private Integer id;

    /**
	* 用户名
	*/
    private String userName;

    /**
	* 密码
	*/
    private String userPass;

    /**
	* 真实姓名
	*/
    private String realName;

    /**
	* 手机号
	*/
    private String phoneNumber;

    /**
	* 用户头像
	*/
    private String headPortrait;

    /**
	* 注册时间
	*/
    private Timestamp inputTime;

    /**
	* 性别
	*/
    private Boolean sex;

    /**
	* 状态
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getHeadPortrait() {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait) {
        this.headPortrait = headPortrait;
    }

    public Timestamp getInputTime() {
        return inputTime;
    }

    public void setInputTime(Timestamp inputTime) {
        this.inputTime = inputTime;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userName=").append(userName);
        sb.append(", userPass=").append(userPass);
        sb.append(", realName=").append(realName);
        sb.append(", phoneNumber=").append(phoneNumber);
        sb.append(", headPortrait=").append(headPortrait);
        sb.append(", inputTime=").append(inputTime);
        sb.append(", sex=").append(sex);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}